<template>
  <div class="search-block">
    <van-icon name="search" />
    <input class="search-input" :placeholder="textDesc" type="text" />
  </div>
</template>

<script>
export default {
  name: "SearchInput",
  props: {
      textDesc: {
      type: String,
      default: "",
    },
  },
};
</script>

<style scoped>
.search-block {
  width: 100%;
  height: 0.8rem;
  background-color: azure;
  border-radius: 0.1rem;
  align-items: center;
  display: flex;
}
.search-icon {
  margin: 0.15rem 0.1rem 0.2rem 0.2rem;
}
.search-input {
  /* border: 1px solid #000; */
  height: 0.6rem;
  padding-left: 0.1rem;
  flex: 1;
}
.big{
  margin-left: .1rem;
}
</style>